package com.example.treehole.entity;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.List;

public class DynamicDetailResponse implements Serializable {


    private String code;
    private String msg;
    private DataDTO data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataDTO getData() {
        return data;
    }

    public void setData(DataDTO data) {
        this.data = data;
    }

    public static class DataDTO implements Serializable {
        @SerializedName("publish")
        private DynamicEntity dynamicEntity;
        private List<String> imagesUrl;

        public DynamicEntity getDynamicEntity() {
            return dynamicEntity;
        }

        public void setDynamicEntity(DynamicEntity dynamicEntity) {
            this.dynamicEntity = dynamicEntity;
        }

        public List<String> getImagesUrl() {
            return imagesUrl;
        }

        public void setImagesUrl(List<String> imagesUrl) {
            this.imagesUrl = imagesUrl;
        }


    }
}
